package que;

/**
 * Created by lee on 2016/5/3.
 */
public class Main {
	public static void main(String[] args) {
		CirQueue<String> queue = new CirQueue<String>(4);
		queue.enqueue("1");
		queue.enqueue("2");
		queue.enqueue("3");
		System.out.println("size=" + queue.size());
		int size = queue.size();
		System.out.println("*******出栈操作*******");
		for (int i = 0; i < size; i++) {
			System.out.print(queue.dequeue() + " ");
		}

	}
}
